<%@ Page Language="C#" %>
<%@ import Namespace="System.Net" %>
<%@ import Namespace="System.IO" %>
<%@ import Namespace="System.Xml" %>
<%@ import Namespace="System.Xml.XPath" %>
<%@ import Namespace="System.Xml.Xsl" %>
<script language="C#" runat="server">
    
    void Page_Load(Object Sender, EventArgs e)
    {
  
        //Create the XslCompiledTransform object
        XslCompiledTransform xslDoc = new XslCompiledTransform();

        //Load the Xsl Stylesheet
        xslDoc.Load(Server.MapPath("Example.xsl"));
        
        //Perform the transformation 
        xslDoc.Transform(Server.MapPath("Example.xml"), null, Response.Output);
    

    }
</script>


